# coding=utf-8

import  time;
#python 乘法口诀输出
for i in range(1,10):
    for j in range(1,i+1):
        print(""+str(i)+"*"+str(j)+"="+str(i*j)+" ",end='');
    print();


ticks = time.asctime(time.localtime(time.time()));
now =time.strftime("%Y-%m-%d %H:%M:%S", time.localtime());
print(now);
print(ticks);
try:
    pass

finally:
    print("finally")

import calendar

cal = calendar.month(2017, 7)
print("以下输出2016年1月份的日历:")
print(cal);

int =["123","234","345"];
int.append("456");
num=int.pop();
print(num)
print(int)

def dop(name,age="22"):
    print(name,end=' ')
    print(age)

dop("张杰",20)
dop("元芳")




